<?php
namespace app\common\validate;
use think\Validate;

class Shop extends Validate
{

    //定义验证规则
    protected $rule =   [
        'name' => 'require',
        'contacts' => 'require',
        'phone' => 'require|mobile',
        'bank_code' => 'require',
        'bank_name' => 'require'
    ];

}
